﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.ComponentModel;

namespace OpenESSOConfigurator.BusinessLayer.Atoms
{
    [Serializable]
    public class Sequence
    {
        private bool _checkRepeatedChar;
        private int _maxRepeatedChar;
        private bool _checkSequence;
        private bool _checkAlphaSequence;
        private bool _checkKeyBoardSequence;

        [XmlAttribute("checkSequence")]
        public bool CheckSequence
        {
            get { return _checkSequence; }
            set { _checkSequence = value; }
        }
        [XmlAttribute("checkRepeatedChar")]
        public bool CheckRepeatedChar
        {
            get { return _checkRepeatedChar; }
            set { _checkRepeatedChar = value; }
        }
        [XmlAttribute("maxRepeatedChar")]
        public int MaxRepeatedChar
        {
            get { return _maxRepeatedChar; }
            set { _maxRepeatedChar = value; }
        }
        [XmlAttribute("checkAlphaSequence")]
        public bool CheckAlphaSequence
        {
            get { return _checkAlphaSequence; }
            set { _checkAlphaSequence = value; }
        }
        [XmlAttribute("checkKeyBoardSequence")]
        public bool CheckKeyBoardSequence
        {
            get { return _checkKeyBoardSequence; }
            set { _checkKeyBoardSequence = value; }
        }

    }
}
